package com.ruoyi.community.mapper;

import com.ruoyi.community.domain.BbsArticleDetail;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface BbsArticleDetailMapper {
    int deleteByPrimaryKey(Long articleid);

    int insert(BbsArticleDetail record);

    int insertSelective(BbsArticleDetail record);

    BbsArticleDetail selectByPrimaryKey(Long articleid);

    int updateByPrimaryKeySelective(BbsArticleDetail record);

    int updateByPrimaryKey(BbsArticleDetail record);

    List<BbsArticleDetail> selectBbsArticleDetailList(BbsArticleDetail bbsArticleDetail);

    List<BbsArticleDetail> selectFavoriteArticleDetailList(@Param("userid") Long userid, @Param("communityid") Integer communityid);
}